package com.tuozixuan.transaction.user.api;

import java.io.IOException;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.tuozixuan.transaction.user.service.UserService1;

@RestController
@RequestMapping("/user")
public class UserApi {
    
    @Autowired
    private UserService1 userService;
    
    @RequestMapping("/testWhenPropagatonIsRequired")
    public void testWhenPropagatonIsRequired() throws IOException {
        userService.updateMoney();
    }
    
}
